_PATH_=../../toolchain/cross/
CC=@$(_PATH_)/bin/i586-pc-fluidium-gcc
LIBS=-L../iobot/bin -liobot
PARAMS=-O -Wall -Wextra -Werror 
INCLUDES=-I./inc
SRC=./src

all :
	$(CC) $(PARAMS) $(INCLUDES) -o package/packages/turtle/turtle  $(SRC)/main.c $(SRC)/turtle_create.c $(SRC)/turtle_destroy.c $(LIBS)

dist :
	@tar czf turtle.pkg.tgz --exclude ".svn" --group=root --owner=root -C package .

